package NWish.properties.materials
{
	import away3d.materials.ColorMaterial;

	public class ColorMaterialProperties extends DefaultMaterialBaseProperties
	{
		public function ColorMaterialProperties(parent,materialPropertiesTypes)
		{
			super(parent,materialPropertiesTypes);
			
			var _keys
			= 
				['color'
				,'alpha'
				];
			addPropertieKeys('ColorMaterial',_keys);
		}
		
		//
		override public function toString()
		{
			return 'ColorMaterial';
		}
		override public function get type()
		{
			return ColorMaterial;
		}
		
		override public function newType(scene,dict)
		{
			return new ColorMaterial(0x00ffff);
		}
	}
}